package com.jxmcloud.business.cut.dto.client;

import com.jxmcloud.business.cut.dtoCommon.BaseDto;
import com.jxmcloud.business.cut.model.activity.Bag;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * 用户背包信息 dto类
 */
@Data
@Builder
public class UserActivityInfoDto extends BaseDto {
    //主键id
    private Integer id;
    //活动id
    private Integer activityId;
    // config_start 表主键ID
    private Integer activityStartId;
    //用户的背包
    @NotNull(message = "背包数据不能为空")
    private Set<Bag> bagSet;
    //是否完成观看直播：1 是  0 否
    private Integer watchLive;
    //是否获取奖励：1 是 0否
    private Integer gainPrize;
    //活动金额
    private Integer gold;
    //'活动状态 -1：终止 0：开始  1：结束',
    private Integer status;
}
